package com.mtsmda.demo.spring.spring_core.looseCoupling;

public class OutputHelper {

	private OutputFormatI outputFormatI;

	public OutputHelper() {

	}

	public OutputHelper(OutputFormatI outputFormatI) {
		setOutputFormatI(outputFormatI);
	}

	public void setOutputFormatI(OutputFormatI outputFormatI) {
		this.outputFormatI = outputFormatI;
	}

	public void generateOutput() {
		this.outputFormatI.generateOutput();
	}

}